package com.test.designPattern.creationType.factoryMethodPattern;

import com.test.designPattern.creationType.simpleFactoryPattern.Shape;
import com.test.designPattern.creationType.simpleFactoryPattern.Square;

/**
 * 画正方形的工厂
 *
 * @author wangjie
 * @version V1.0
 * @date 2020/4/3
 */
public class SquareFactory implements Factory{

    @Override
    public Shape getShape() {
        return new Square();
    }

}

